import requests


# symbol = "BTCUSDT"
symbol = "DEFIUSDT"
url = f"https://fapi.binance.com/fapi/v1/indexInfo?symbol={symbol}"
response = requests.get(url)
data = response.json()
print(data)